local cb = require( "ChatBox")
local dp = require("DataTemp")
ENV = CS.UnityEngine
GameObject = CS.UnityEngine.GameObject
function start()
    local input = GameObject.Find("Inputmsg"):GetComponent("InputField")
    local name = ENV.PlayerPrefs.GetString("name")
    GameObject.Find("Send"):GetComponent("Button").onClick:AddListener(function()
      local d = dp.new(name, "TIME", input.text, "uface0")
      cb.pushData(d)
      input.text = ""
    end)
end